package com.zjlanyun.erp.rfid.m10.u8.activity;

import android.content.Intent;
import android.os.Bundle;

import com.zjlanyun.erp.MainApplication;
import com.zjlanyun.erp.R;
import com.zjlanyun.erp.view.BaseSwipeBackActivity;

import butterknife.OnClick;

/**
 * @author: shun
 * @date: 2016-12-23 18:46
 * @Desc: RFID设置
 */

public class RFIDSetting extends BaseSwipeBackActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.rfid_select_setting);
        ((MainApplication) getApplication()).addActivity(this);
        initBaseView();
        title.setText("RFID设置");
    }

    @OnClick(R.id.tab_row_beeper)
    public void openBeeper() {
        Intent intent = new Intent();
        intent.setClass(mContext, BeeperActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.tab_row_setting_outpower)
    public void openOutPower() {
        Intent intent = new Intent();
        intent.setClass(mContext, OutPowerActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.tab_row_detection_temperature)
    public void openDetectionTemperature() {
        Intent intent = new Intent();
        intent.setClass(mContext, DetectionTemperatureActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.tab_row_session)
    public void openSession() {
        Intent intent = new Intent();
        intent.setClass(mContext, SessionActivity.class);
        startActivity(intent);
    }
}
